﻿using System;
using System.Collections.Generic;
using System.Text;
using HF.Permission.Data;
using HF.Framework;
using HF.Framework.Windows;

namespace HF.Permission
{
    public class PermissionHelper
    {
        //public static bool IsPower(string userId, string operationId)
        //{
        //    if (PurviewData.GetInstance().IsPower(userId, operationId))
        //    {
        //        return true;
        //    }
        //    else
        //    {
        //        WorkDialog.WarningDlg("用户 " + userId + " 没有 " + operationId + " 的操作权限!", "系统提示");
        //        return false;
        //    }
        //}
    }
}
